<template>
  <div id="nav">
    <router-link to="/">Home</router-link> |
    <router-link to="/about">About</router-link> |
    <router-link to="/timer">TimerCount</router-link>|
    <router-link to="/message">test</router-link>|
    <router-link to="/compute">computed</router-link>|
    <router-link to="/watch">watch</router-link>|
    <router-link to="/clzzObject">clzzObject</router-link>
  </div>
  <router-view />
</template>
// 引入公共防抖限流的js  此处引用将为变成全局的防抖限流.
<style lang="scss">
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}

#nav {
  padding: 30px;

  a {
    font-weight: bold;
    color: #2c3e50;

    &.router-link-exact-active {
      color: #42b983;
    }
  }
}
</style>
